home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VOUTWIND.S < prev    next >
Text File  |  1993-03-16  |  962b  |  35 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*-----------------------------------------------------------------------
  7. ;* Output window contents to printer. (Or something like that).
  8. ;*-----------------------------------------------------------------------
  9.  
  10.           globl     _v_output_window
  11. _v_output_window:
  12. ;    .cargs    #8,handle.w,pxy.l
  13.  
  14. handle      =         8
  15. pxy       =         10
  16.  
  17.           link        a6,#0
  18.  
  19. ;          VContrl    #5,#21,#2
  20.           move.w    handle(a6),-(sp)    ; contrl[6]
  21.           move.w    #21,-(sp)            ; contrl[5]
  22.           subq.l    #2,sp                ; contrl[4]
  23.           clr.l     -(sp)                ; contrl[3,2]
  24.           move.w    #2,-(sp)            ; contrl[1]
  25.           move.w    #5,-(sp)            ; contrl[0]
  26.  
  27.           subq.l    #8,sp                ;* -> ptsout, intout
  28.           move.l    pxy(a6),-(sp)        ;* -> ptsin
  29.           subq.l    #4,sp                ;* -> intin
  30.           pea        16(sp)                ;* -> contrl
  31.  
  32.           jmp        vdicall
  33.  
  34.           end
  35.